package com.transaction.simulate.mapper;


import com.transaction.simulate.model.dto.ElContract;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ElContractMapper {

    void generateChannelElContract(@Param("elContractList") List<ElContract> elContractList);

    List<Map<String, Object>> getElContractToMap(@Param("channelCode") String channelCode,
                                                 @Param("dateRange") List<String> dateRange);

    void deleteElContract(@Param("channelCode") String channelCode,
                          @Param("dataList") List<Map<String, Object>> dataList);

    void insertElContract(@Param("channelCode") String channelCode,
                          @Param("dataList") List<Map<String, Object>> dataList);

    void updateElContract(@Param("channelCode") String channelCode,
                          @Param("dataList") List<Map<String, Object>> dataList);
}
